<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


	<?php echo $form->textFieldControlGroup($model,'username',array('span'=>5,'maxlength'=>128,'placeholder' => Yii::t('user_messages','Username'), 'label' => false)); ?>
	
	<?php echo $form->textFieldControlGroup($model,'fullname',array('span'=>5,'maxlength'=>128,'placeholder' => Yii::t('user_messages','Fullname'), 'label' => false)); ?>

	<?php echo $form->textFieldControlGroup($model,'email',array('span'=>5,'maxlength'=>128,'placeholder' => Yii::t('user_messages','E-mail'), 'label' => false)); ?>
	
	<?php echo $form->textFieldControlGroup($model,'mobile',array('span'=>5,'maxlength'=>128,'placeholder' => Yii::t('user_messages','Mobile'), 'label' => false)); ?>
	
        
     <?php echo $form->dropDownListControlGroup($model, 'role_id',array(null=>Yii::t('default','search.all.roles'),1=>Yii::t('default','role_1'),2=>Yii::t('default','role_2')), array('label' => false)); ?>    
          
        
    <?php echo $form->dropDownListControlGroup($model, 'isactive',array(null=>Yii::t('default','search.all.status'),1=>Yii::t('default','status_1'),0=>Yii::t('default','status_0')), array('label' => false)); ?>    
       
	

	<div class="row buttons">
        <?php echo TbHtml::submitButton(Yii::t('default','search.label'),  array('color' => TbHtml::BUTTON_COLOR_PRIMARY,));?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->